import math


class Cylinder:
    def __init__(self, radius, height):
        self.r = radius
        self.h = height

    def GetVolume(self):
        return math.pi * self.r ** 2 * self.h


if __name__ == '__main__':
    r = eval(input())  # 输入半径
    h = eval(input())  # 输入高
    c = Cylinder(r, h)  # 创建Cylinder对象
    print('radius:%.2f,height:%.2f' % (c.r, c.h))  # 输出半径和高
    print('volume:%.2f' % c.GetVolume())  # 输出体积
